package com.annotation.hw.hw5.animal;

/**
 * @author bin
 * @date 2025 - 03 -31
 **/
public class ShaYu extends HaiYangAnimal{
    @Override
    public void eat() {
        super.eat();
        System.out.println("大鱼吃小鱼");
    }

    @Override
    public void sleep() {
        super.sleep();
        System.out.println("鲨鱼窝着睡");
    }
}
